//
//  NetWorkingTool.h
//  YiXiu
//
//  Created by yixiu on 16/7/24.
//  Copyright © 2016年 zzz. All rights reserved.
//

#import <Foundation/Foundation.h>


#define UrlHead @"http://115.29.174.31:8080/xiuseAPP"


typedef void(^NetWorkingBlock)(id responseObject, NSError *error);

@interface NetWorkingTool : NSObject


+(void)POST:(NSString *)URLString parameters:(NSDictionary *)parameters success:(NetWorkingBlock)success failure:(NetWorkingBlock)failure;


+(void)GET:(NSString *)URLString parameters:(NSDictionary *)parameters success:(NetWorkingBlock)success failure:(NetWorkingBlock)failure;

+(void)GET:(NSString *)URLString success:(NetWorkingBlock)success failure:(NetWorkingBlock)failure;



@end
